package com.cloudpivot.receivales.meta.service;

import com.cloudpivot.receivales.meta.domain.OAWFFile;

import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.util.List;
import java.util.Map;

/**
 * 质量管理 文档服务
 */
public interface PvDocumentService {
    /**
     * 查入签名
     */
    void insertToDocLastForDocx(List<Map<String,Object>> signsMap, InputStream signFile);

//    void insertToDocLastForDoc(List<Map<String,Object>> signsMap, InputStream signFile);

    void insertToXlsLastForXlsx(List<Map<String,Object>> signsMap, InputStream signFile);
    //插入签名+水印
    File insertToSignToPdf(OAWFFile entity, byte[] signFile);
    //仅添加水印
    File insertToWatermarkToPdf(OAWFFile entity, byte[] signFile);

}
